tangent
This function returns the tangent of an angle of x radians.
double tangent(double x)
Parameters:
x
a value representing an angle expressed in radians that will be calculated.
Return value:
The tangent of x.
Remarks:
None.
Example:
void main()
{
double param=45.0;
double result=tangent(param*3.14159/180);
alert("tangent test", "The tangent of "+param+" is "+result+".");
}